<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			window.onload=function(){
				var b1=document.getElementById("b1");
				b1.onclick=function(){
					let d=document.getElementById("d1");
					//d.innerHTML="<h1 style='color:red;font-size:200px;'>We change lives</h1>";
					d.align="right";
				}
			}
		</script>
	</head>
	<body>
		<div id="d1">
			111
		</div>	
		<input type="button" value="改变div" id="b1"/>
		<div id="d1">
			222
		</div>
	</body>
</html>
